package com.dofast.bt.mvp.presenter.message;

import com.dofast.bt.base.BaseMvpPresenter;
import com.dofast.bt.mvp.view.activity.message.IWebView;

/**
 * username:Created by hsj on 2016/12/25 0025.
 * class：
 * 类描述：
 */

public class WebViewPresenter extends BaseMvpPresenter<IWebView> implements IWebViewPresenter {
    private String strUrl = "";

    @Override
    public void intData() {
        checkViewAttach();
        showWeb();
    }

    @Override
    public void showWeb() {
        strUrl = mvpView.getUrl();
        mvpView.showWeb(strUrl);
    }
}
